package com.ruoyi.borrow.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.borrow.entity.Borrow;
import com.ruoyi.borrow.entity.UserInformation;
import com.ruoyi.borrow.service.BorrowService;
import com.ruoyi.borrow.mapper.BorrowMapper;
import com.ruoyi.common.core.exception.user.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import java.util.Date;

/**
* @author 14571
* @description 针对表【tb_borrow(借款信息表)】的数据库操作Service实现
* @createDate 2023-03-31 08:42:05
*/
@Service
public class BorrowServiceImpl extends ServiceImpl<BorrowMapper, Borrow>
    implements BorrowService{

    @Resource
    private BorrowMapper borrowMapper;

    @Override
    public UserInformation getUser(Integer id) {
        UserInformation serInformation = borrowMapper.getUser(id);
        return serInformation;
    }
}




